package com.markerhub.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 数据备份记录实体类
 */
@Data
@TableName("sys_backup")
public class SysBackup implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 备份名称
     */
    private String backupName;

    /**
     * 备份路径
     */
    private String backupPath;

    /**
     * 备份大小
     */
    private String backupSize;

    /**
     * 备份类型(1:手动,2:自动)
     */
    private Integer backupType;

    /**
     * 创建人ID
     */
    private Long creatorId;

    /**
     * 创建时间
     */
    private Date created;
}